package com.zlk.algorithm.util;

/**
 * @program: algorithm
 * @ClassName TreeNode
 * @description:
 * @author: slfang
 * @create: 2025-01-08 09:59
 * @Version 1.0
 **/
public class TreeNode {
      public int val;
      public TreeNode left;
      public TreeNode right;
      public TreeNode() {}
      public TreeNode(int val) { this.val = val; }
      public TreeNode(int val, TreeNode left, TreeNode right) {
          this.val = val;
          this.left = left;
          this.right = right;
      }
}
